﻿using System.Collections.Generic;

namespace Gum.FizzBuzz
{
    /// <summary>
    /// Provides a method to run FizzBuzz jobs
    /// </summary>
    public interface IFizzBuzzJobRunner
    {
        /// <summary>
        /// Runs a FizzBuzz job
        /// </summary>
        /// <param name="job">The job to run</param>
        /// <param name="stringWriter">The writer to send the output to</param>
        void Run(IFizzBuzzJob job, IStringWriter stringWriter);

        IEnumerable<string> Run(IFizzBuzzJob job);
    }
}